package com.itany.corejava.code09_集合.map集合;

import java.util.Objects;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月21日 16:08
 */
public class Student {
    private Integer no;
    private String name;

    public Student(Integer no, String name) {
        this.no = no;
        this.name = name;
    }

    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    @Override
    public String toString() {
        return "Student{" +
                "no=" + no +
                ", name='" + name + '\'' +
                '}';
    }
}
